GrapeCity.Documents.Excel Namespace / IRange Interface / Intersect Method / Intersect(IRange[]) Method
The intersecting ranges.
In This Topic
Intersect(IRange[]) Method
In This Topic
Returns an IRange object that represents the intersection of several ranges.

If one or more ranges from a different worksheet are specified, an exception is thrown.
Syntax
IRange Intersect( 
   params IRange[] ranges
)

Parameters

ranges
The intersecting ranges.

Return Value

A new range which consists of the intersection of this range and other ranges, or null if the ranges do not intersect.
See Also